#!/usr/bin/python3
# coding: utf-8

import scrapy


class BaiduSpider(scrapy.Spider):
	name = 'taobao'

	def start_requests(self):
		urls = ['http://www.baidu.com']
		for url in urls:
			yield scrapy.Request(url = url, callback = self.parse)

	def parse(self, response):
		self.log(response.url)